<?php
/**
 * Created by PhpStorm.
 * User: syzhou
 * Date: 2019-09-01
 * Time: 19:08
 */

namespace App;


class Consts
{
    const VOTE_RESULT_AGREE = '同意';
    const VOTE_RESULT_DISAGREE = '不同意';
    const VOTE_RESULT_UNVOTED = '';

    const AWARD_TYPE_PROGRESS = 1;
    const AWARD_TYPE_TALENT = 2;

    const LARGE_GROUP_ID_TO_AWARD_TYPE = [
        1 => self::AWARD_TYPE_PROGRESS,
        2 => self::AWARD_TYPE_PROGRESS,
        3 => self::AWARD_TYPE_PROGRESS,
        4 => self::AWARD_TYPE_PROGRESS,
        5 => self::AWARD_TYPE_TALENT,
    ];

    const AWARD_TYPE_TO_AWARDS = [
        self::AWARD_TYPE_PROGRESS => ['特等奖', '一等奖', '二等奖'],
        self::AWARD_TYPE_TALENT => ['科技人物奖']
    ];

    const PROGRESS_AWARD_SPECIAL = '特等奖';
    const PROGRESS_AWARD_LEVEL1 = '一等奖';
    const PROGRESS_AWARD_LEVEL2 = '二等奖';
    const AWARD_LEVEL_NONE = '';

    const AWARD_POLICY_ON_LOW_SUPPORT_DOWNGRADE = 'downgrade';
    const AWARD_POLICY_ON_LOW_SUPPORT_REJECT = 'reject';
}